
	class PointCandle extends Point
	{
		public var width: Float;
		public var bar_bottom: Float;
		public var high: Float;
		public var open: Float;
		public var close: Float;
		public var low: Float;
		
		public function new( x: Float, high: Float, open: Float, close: Float, low: Float, tooltip: Float, width: Float ) {
			super( x, high );
			
			this.width = width;
			this.high = high;
			this.open = open;
			this.close = close;
			this.low = low;
		}
		
		public override function make_tooltip(
			tip:String, key:String, val: Float, x_legend:String,
			x_axis_label:String, tip_set:String ):Void {
				
		
			super.make_tooltip( tip, key, val, x_legend, x_axis_label, tip_set );
		//			super.make_tooltip( tip, key, val.open, x_legend, x_axis_label, tip_set );
		//			
		//			var tmp:String = this.tooltip;
		//			tmp = StringTools.replace(tmp,'#high#',NumberUtils.formatNumber(val.high));
		//			tmp = StringTools.replace(tmp,'#open#',NumberUtils.formatNumber(val.open));
		//			tmp = StringTools.replace(tmp,'#close#',NumberUtils.formatNumber(val.close));
		//			tmp = StringTools.replace(tmp,'#low#',NumberUtils.formatNumber(val.low));
			
		//			this.tooltip = tmp;
		}
		
		public override function get_tip_pos():Dynamic {
			return {x:this.x+(this.width/2), y:this.y};
		}
	}
